<template>
	<view class="page">
		<view style="width: 100%; margin-left:10px">
			<u-icon name="arrow-left" color="#2979ff" size="28" @click="back"></u-icon>
		</view>
		<view style="margin-left: 20%;">
			<u-steps direction="column">
				<u-steps-item v-for="(paper, index) in allList" :title="paper.content" :desc="paper.createTime">
				</u-steps-item>
			</u-steps>
		</view>
	</view>
</template>


<script>
	import http from '../../http';
	export default {
		data() {
			return {
				disabled: true,
				show: false,
				value: 30,
				allList: []
			};
		},
		methods: {
			getStatus() {
				http({
					url: "/api/student/user/log",
					method: "post",
				}).then(res => {
					console.log(res);
					if (res.code === 1) {
						this.allList = res.response
					}
				});
			},
			back(){
				uni.reLaunch({
					url: '/pages/Demo4/Demo4'
				});
			}
		},
		onLoad() {
			this.getStatus()
		}

	};
</script>


<style>
	page,
	.page {
		height: 100%;
	}

	body,
	html {
		height: 100%;
	}
</style>